package net.sk.china.common.response;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.Date;

/**
 * 微信退款回调 Response
 * +----------------------------------------------------------------------
 * | Talk To [ 聊来改善地区金融服务环境，助力企业发展 ]
 * +----------------------------------------------------------------------
 * | Copyright (c) 2018-2024 聊来All rights reserved.
 * +----------------------------------------------------------------------
 * | Licensed ( <a href="http://www.apache.org/licenses/LICENSE-2.0">apache</a> )
 * +----------------------------------------------------------------------
 * | @Author: 聊来 <18970881148@qq.com>
 * +----------------------------------------------------------------------
 * | DateTime: 2024/6/2 22:50
 * +----------------------------------------------------------------------
 */


@Data
public class WechatRefundNotifyResponse {

    @ApiModelProperty(value = "微信支付订单号")
    @JsonProperty(value = "transaction_id")
    private String transactionId;

    @ApiModelProperty(value = "SUCCESS/FAIL 业务结果")
    @JsonProperty(value = "refund_status")
    private String refundStatus;

    @ApiModelProperty(value = "微信退款单号")
    @JsonProperty(value = "out_refund_no")
    private String outRefundNo;

    @ApiModelProperty(value = "退款时间，格式为yyyyMMddHHmmss，如2022年12月16日10点50分10秒表示为20221216105010。其他详见时间规则")
    @JsonProperty(value = "success_time")
    private LocalDateTime successTime;

    @ApiModelProperty(value = "退款账户类型")
    @JsonProperty(value = "refund_recv_accout")
    private String refundRecvAccount;

    @ApiModelProperty(value = "系统生成的订单号")
    @JsonProperty(value = "out_trade_no")
    private String outTradeNo;
}
